package cn.tedu.antcolony.passport.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 权限mapper层
 */
@Repository
@Mapper
public interface PermissionMapper {
    /**
     *根据id查询 权限信息
     * @param id
     * @return
     */
    List<String> getPermissionsByUserId(Long id);
}
